﻿package mortal.component.skin.scrollBar
{
    import com.mui.skins.*;
    import fl.core.*;
    import flash.geom.*;
    import mortal.component.skin.scrollPane.*;

    public class ScrollBarStyle extends SkinStyle
    {
        private var _rect:Rectangle;

        public function ScrollBarStyle()
        {
            this._rect = new Rectangle(3, 4, 12, 11);
            return;
        }// end function

        override public function setStyle(param1:UIComponent) : void
        {
            param1.setStyle("downArrowUpSkin", DownArrowUpSkin);
            param1.setStyle("downArrowOverSkin", DownArrowOverSkin);
            param1.setStyle("downArrowDownSkin", DownArrowUpSkin);
            param1.setStyle("downArrowDisabledSkin", DownArrowDisabledSkin);
            param1.setStyle("upArrowUpSkin", UpArrowUpSkin);
            param1.setStyle("upArrowOverSkin", UpArrowOverSkin);
            param1.setStyle("upArrowDownSkin", UpArrowUpSkin);
            param1.setStyle("upArrowDisabledSkin", UpArrowUpSkin);
            param1.setStyle("trackUpSkin", TrackUpSkin);
            param1.setStyle("trackOverSkin", TrackUpSkin);
            param1.setStyle("trackDownSkin", TrackUpSkin);
            param1.setStyle("trackDisabledSkin", TrackUpSkin);
            param1.setStyle("thumbUpSkin", ThumbUpSkin);
            param1.setStyle("thumbOverSkin", ThumbOverSkin);
            param1.setStyle("thumbDownSkin", ThumbUpSkin);
            param1.setStyle("thumbDisabledSkin", ThumbUpSkin);
            param1.setStyle("thumbIcon", ThumbIcon);
            return;
        }// end function

    }
}
